package cn.iocoder.yudao.framework.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import org.springframework.http.HttpMethod;
import org.springframework.http.MediaType;

@Getter
@AllArgsConstructor
public enum RequestUriEnum {

    /**
     *apiproxy_查询云桌面资源池（融合）
     */
    QUERY_WORK_SPACE_REGIONS("/v4/cloudDesktop/queryWorkSpaceRegions", HttpMethod.GET, MediaType.APPLICATION_FORM_URLENCODED_VALUE,1,"apiproxy_查询云桌面资源池（融合）"),

    /**
     *apiproxy_查询VPC列表（融合）v4
     */
    GET_VPCS("/v4/cloudDesktop/getVpcs", HttpMethod.GET, MediaType.APPLICATION_FORM_URLENCODED_VALUE,1,"apiproxy_查询VPC列表（融合）v4"),

    /**
     *apiproxy_创建云桌面默认VPC（通用）
     */
    CREATE_DEFAULT_VPC("/v4/cloudDesktop/createDefaultVPC", HttpMethod.POST, MediaType.APPLICATION_FORM_URLENCODED_VALUE,1,"apiproxy_创建云桌面默认VPC（通用）"),


    /**
     *apiproxy_查询VPC详情（融合）
     */
    QUERY_VPC_DETAIL("/v4/cloudDesktop/queryVPCDetail", HttpMethod.GET, MediaType.APPLICATION_FORM_URLENCODED_VALUE,1,"apiproxy_查询VPC详情（融合）"),

    /**
     *apiproxy_创建子网（通用）
     */
    CREATE_SUBNET("/v4/cloudDesktop/createSubnet", HttpMethod.POST, MediaType.APPLICATION_FORM_URLENCODED_VALUE,1,"apiproxy_创建子网（通用）"),

    /**
     *apiproxy_查询子网列表（融合）
     */
    GET_SUBNETS("/v4/cloudDesktop/getSubnets", HttpMethod.GET, MediaType.APPLICATION_FORM_URLENCODED_VALUE,1,"apiproxy_查询子网列表（融合）"),


    /**
     * apiproxy_开通云桌面服务(通用)
     */
    CREATE_CLOUD_DESKTOP_SERVICE("/v3/cloudDesktop/createCloudDesktopService", HttpMethod.POST, MediaType.APPLICATION_FORM_URLENCODED_VALUE,1,"apiproxy_开通云桌面服务(通用)"),
    /**
     * apiproxy_查询开通云桌面服务任务结果(融合)
     */
    GET_WORK_SPACE_JOB("/v3/cloudDesktop/getWorkspaceJob", HttpMethod.GET, MediaType.APPLICATION_FORM_URLENCODED_VALUE,1,"apiproxy_查询开通云桌面服务任务结果(融合)"),
    /**
     *查询云桌面主机规格信息(融合)
     */
    QUERY_CLOUD_DESKTOP_FLAVORS("/v4/cloudDesktop/queryCloudDesktopFlavors", HttpMethod.GET, MediaType.APPLICATION_FORM_URLENCODED_VALUE,1,"查询云桌面主机规格信息(融合)"),
    /**
     *apiproxy_查询云桌面私有镜像列表（融合）
     */
    GET_IMAGES("/v4/cloudDesktop/getImages", HttpMethod.GET, MediaType.APPLICATION_FORM_URLENCODED_VALUE,1,"apiproxy_查询云桌面私有镜像列表（融合）"),

    /**
     *单桌面、政企云手机开通 (云电脑平台提供）
     */
    ORDER("/apiCloudComputer/busiDesktop/order", HttpMethod.POST, MediaType.APPLICATION_FORM_URLENCODED_VALUE,1,"单桌面、政企云手机开通 (云电脑平台提供）"),


    /**
     *云桌面订购(通用)
     */
    NEW_DESKTOP("/v3/order/placeNewPurchaseOrderForCloudDesktop", HttpMethod.POST, MediaType.APPLICATION_FORM_URLENCODED_VALUE,1,"云桌面订购(通用)"),

    ;
    private final String uri;

    private final HttpMethod method;

    private final String contentType;

    //0:绕过ssl证书   1：验证ssl证书
    private final int temp;

    private final String description;


}
